package com.livery.data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Supervisor extends Worker implements Serializable{
	private Worker worker;
	
	public Supervisor(Worker worker){
		this.worker = worker;
	}
	
	public String getFirstName() {
		return worker.firstName;
	}

	public void setFirstName(String firstName) {
		worker.firstName = firstName;
	}

	public String getLastName() {
		return worker.lastName;
	}

	public void setLastName(String lastName) {
		worker.lastName = lastName;
	}

	public String getPhoneNumber() {
		return worker.phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		worker.phoneNumber = phoneNumber;
	}

	public Integer getId() {
		return worker.id;
	}

	public void setId(Integer id) {
		worker.id = id;
	}
	
	public void addWorker(Worker worker){
		
	}
	
	public void archiveWorkerData(Worker worker){
		
	}
	
	public List<Worker> getWorkersData(){
		return new ArrayList<Worker>();
	}
}
